package me.zengshuai;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class Main {
	  public static void main(String[] args) throws IOException {  
//	        for (int i = 0; i < 100; i++) {  
//	            System.out.println(RandomValue.getDatas());  
//	        }  
	        Properties pro = new Properties();
	        String url =    Main.class.getClassLoader().getResource("a.properties").getPath();
	        System.out.println(url);
	        FileInputStream in = new FileInputStream(url);
	        pro.load(in);
	        in.close();
	        System.out.println(pro.getProperty("test"));
	        
	    }  
}
